package test.subject1;

public abstract class Animal {
    String animalType;
    String name;

    public Animal(String animalType,String name){
        this.animalType = animalType;
        this.name = name;
    }
    abstract public void run ();

    public String getAnimalType() {
        return animalType;
    }

    public String getName() {
        return name;
    }
}
